package com.charge.dao;

import com.charge.domain.ChargeRecord;
import com.charge.dto.ChargeRecordDTO;
import com.charge.vo.ChargeRecordVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ChargeRecordMapping {

    int insertSelective(ChargeRecord record);

    ChargeRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ChargeRecord record);

    Integer selectChargeRecordCount(ChargeRecordDTO chargeRecordDTO);

    List<ChargeRecordVO> selectChargeRecordList(ChargeRecordDTO chargeRecordDTO);

    ChargeRecord selectRepeatRecord(ChargeRecord chargeRecord);

}